package com.qf.pojo;

import org.springframework.core.annotation.Order;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author zhaojian
 */
public class User implements Serializable {

    private Integer id;
    private String UserName;
    private String passWord;


   

    //无参构造（必备构造二选一）
    public User() {}

    //全参构造（必备构造二选一）


    public User(Integer id, String userName, String passWord) {
        this.id = id;
        UserName = userName;
        this.passWord = passWord;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return UserName;
    }

    public void setUserName(String userName) {
        UserName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", UserName='" + UserName + '\'' +
                ", passWord='" + passWord + '\'' +
                '}';
    }
}
